package com.accp.demo.pojo.purchase;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.accp.demo.pojo.base.PersonManager;
import com.accp.demo.pojo.base.Supplier;
import com.accp.demo.pojo.base.SupplierAddress;
import com.accp.demo.pojo.base.WareHouse;


/**
 * 采购入库主表          
 * @author Administrator
 *
 */
public class PurchaseInstorage implements Serializable{

	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -238663526980726370L;
	private String billNo;					//单号
	private String billDate;				//单据日期
	private Supplier supplier;				//供应商编号
	private SupplierAddress supplierAddress;	//供应商地址编号
	private Integer saleClassId;			//采购类型
	private Integer isTax;					//单价是否含税
	private WareHouse wareHouse;			//仓库
	private PersonManager personManager;	//采购人员
	private String maker;					//制单人员
	private String permitter;				//审核人员
	private Integer moneyType;				//币别
	private Double exchRate;				//汇率
	private Integer hasForeignTrade;		//国外贸易
	private String pzbh;					//凭证编号
	private String ofProject;				//所属项目
	private Date createTime;				//创表时间
	private Integer logicStatus;			//逻辑状态
	private Integer auditState;				//审核状态
	private String auditTime;				//审核时间
	private List<PurchaseInstorageDetail> purchaseInstorageDetails=new ArrayList<PurchaseInstorageDetail>();
	
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	public String getBillDate() {
		return billDate;
	}
	public void setBillDate(String billDate) {
		this.billDate = billDate;
	}
	public Supplier getSupplier() {
		return supplier;
	}
	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}
	public SupplierAddress getSupplierAddress() {
		return supplierAddress;
	}
	public void setSupplierAddress(SupplierAddress supplierAddress) {
		this.supplierAddress = supplierAddress;
	}
	public Integer getSaleClassId() {
		return saleClassId;
	}
	public void setSaleClassId(Integer saleClassId) {
		this.saleClassId = saleClassId;
	}
	public Integer getIsTax() {
		return isTax;
	}
	public void setIsTax(Integer isTax) {
		this.isTax = isTax;
	}
	public WareHouse getWareHouse() {
		return wareHouse;
	}
	public void setWareHouse(WareHouse wareHouse) {
		this.wareHouse = wareHouse;
	}
	public PersonManager getPersonManager() {
		return personManager;
	}
	public void setPersonManager(PersonManager personManager) {
		this.personManager = personManager;
	}
	public String getMaker() {
		return maker;
	}
	public void setMaker(String maker) {
		this.maker = maker;
	}
	public String getPermitter() {
		return permitter;
	}
	public void setPermitter(String permitter) {
		this.permitter = permitter;
	}
	public Integer getMoneyType() {
		return moneyType;
	}
	public void setMoneyType(Integer moneyType) {
		this.moneyType = moneyType;
	}
	public Double getExchRate() {
		return exchRate;
	}
	public void setExchRate(Double exchRate) {
		this.exchRate = exchRate;
	}
	public Integer getHasForeignTrade() {
		return hasForeignTrade;
	}
	public void setHasForeignTrade(Integer hasForeignTrade) {
		this.hasForeignTrade = hasForeignTrade;
	}
	public String getPzbh() {
		return pzbh;
	}
	public void setPzbh(String pzbh) {
		this.pzbh = pzbh;
	}
	public String getOfProject() {
		return ofProject;
	}
	public void setOfProject(String ofProject) {
		this.ofProject = ofProject;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getLogicStatus() {
		return logicStatus;
	}
	public void setLogicStatus(Integer logicStatus) {
		this.logicStatus = logicStatus;
	}
	public Integer getAuditState() {
		return auditState;
	}
	public void setAuditState(Integer auditState) {
		this.auditState = auditState;
	}

	public String getAuditTime() {
		return auditTime;
	}
	public void setAuditTime(String auditTime) {
		this.auditTime = auditTime;
	}
	public List<PurchaseInstorageDetail> getPurchaseInstorageDetails() {
		return purchaseInstorageDetails;
	}
	public void setPurchaseInstorageDetails(List<PurchaseInstorageDetail> purchaseInstorageDetails) {
		this.purchaseInstorageDetails = purchaseInstorageDetails;
	}
	public PurchaseInstorage() {
		super();
	}
	
	public PurchaseInstorage(String billNo, String billDate, Supplier supplier, SupplierAddress supplierAddress,
			Integer saleClassId, Integer isTax, WareHouse wareHouse, PersonManager personManager, String maker,
			String permitter, Integer moneyType, Double exchRate, Integer hasForeignTrade, String pzbh,
			String ofProject, Date createTime, Integer logicStatus, Integer auditState, String auditTime,
			List<PurchaseInstorageDetail> purchaseInstorageDetails) {
		super();
		this.billNo = billNo;
		this.billDate = billDate;
		this.supplier = supplier;
		this.supplierAddress = supplierAddress;
		this.saleClassId = saleClassId;
		this.isTax = isTax;
		this.wareHouse = wareHouse;
		this.personManager = personManager;
		this.maker = maker;
		this.permitter = permitter;
		this.moneyType = moneyType;
		this.exchRate = exchRate;
		this.hasForeignTrade = hasForeignTrade;
		this.pzbh = pzbh;
		this.ofProject = ofProject;
		this.createTime = createTime;
		this.logicStatus = logicStatus;
		this.auditState = auditState;
		this.auditTime = auditTime;
		this.purchaseInstorageDetails = purchaseInstorageDetails;
	}
	@Override
	public String toString() {
		return "PurchaseInstorage [billNo=" + billNo + ", billDate=" + billDate + ", supplier=" + supplier
				+ ", supplierAddress=" + supplierAddress + ", saleClassId=" + saleClassId + ", isTax=" + isTax
				+ ", wareHouse=" + wareHouse + ", personManager=" + personManager + ", maker=" + maker + ", permitter="
				+ permitter + ", moneyType=" + moneyType + ", exchRate=" + exchRate + ", hasForeignTrade="
				+ hasForeignTrade + ", pzbh=" + pzbh + ", ofProject=" + ofProject + ", createTime=" + createTime
				+ ", logicStatus=" + logicStatus + ", auditState=" + auditState + ", auditTime=" + auditTime
				+ ", purchaseInstorageDetails=" + purchaseInstorageDetails + "]";
	}
	
	
	
}
